﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Com.Charence.PassManager.BusinessComponents;
using Com.Charence.PassManager.Common;
using Com.Charence.PassManager.UI.Web.Common;

namespace Com.Charence.PassManager.UI.Web.Controllers
{
    public class CommonController : BaseController
    {
        //
        // GET: /Common/

        [HttpGet]
        public JsonResult GetAccOwnerSource(string query)
        {
            var bc = new CommonBC();
            var source = bc.GetAccOwnerSource(query);
            return Json(source, JsonRequestBehavior.AllowGet);
        }

    }
}
